package view;

import java.awt.GridLayout;
import javax.swing.JComponent;

public abstract class ViewDecorator extends JComponent {
    
    protected JComponent component;
    
    public ViewDecorator(JComponent component) {
        this.component = component;
        this.setLayout(new GridLayout());
        this.add(component);
    }
}